home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / util / cli / DayCopy.readme < prev    next >
Encoding:
Text File  |  1998-05-05  |  2.3 KB  |  66 lines

  1. Short:    DayCopy 1.1 - Copy files (+/-)x days old
  2. Author:   jthorsen@netpower.no
  3. Uploader: jthorsen@netpower.no
  4. Version:  1.1
  5. Type:     util/cli
  6. Replaces: util/cli/DayCopy.lha
  7.  
  8.  
  9. Daycopy is email-ware, which means that if you like it I would really like to receive a mail from 
  10. you telling me so.
  11. DayCopy is a copy-util that will let you copy -x days old files from one directory into another.
  12. I wrote it mainly for my own use, but hopefully it will be handy for other people to use also.
  13.  
  14. USAGE:
  15. daycopy NUMBER_OF-DAYS/N,SOURCE_DIR/A,DEST_DIR/A,OLDER/S,LIST/S,QUIET/S
  16.  
  17. NUMBER_OF_DAYS - How many days old files to copy
  18. SOURCE_DIR     - Source-dir
  19. DEST_DIR       - Dest-dir
  20. OLDER          - Copy only older than x-days old files, copy newer is default.
  21. LIST           - Do not copy files, only list them.
  22. QUIET          - Do not ask questions, this is smart to use in scripts where 
  23.                  you don't want the program to wait for your response.
  24.  
  25. example:
  26. daycopy 0 BBS:upload/ ram:today/ ;This will copy todays uploads into ram:today/
  27.  
  28. daycopy 50 store: store3:tmp/ OLDER LIST ;This will list files in store: that are 
  29.                                           older than 50 days. The destination dir
  30.                                           is not used for anything at all when using
  31.                                           the LIST switch but it has to be used because
  32.                                           of the way the arguments are handled.
  33.  
  34.  
  35. This should be quite simple to figure out I guess, but if you are stuck feel free to 
  36. send me a mail.
  37.  
  38. Daycopy is the first in a serie of smart little tools. In the near future the following
  39. utils will also be released by me:
  40.  
  41. DayDelete
  42. DayMove
  43. DayList
  44. SizeCopy
  45. SizeDelete
  46. SizeMove
  47. SizeList
  48.  
  49.  
  50. Version History:
  51. 1.1 Converted the program from AmigaE to C.
  52.     Added the OLDER, LIST and QUIET switches.
  53.     DayCopy can now be aborted at any time by pressing Ctrl+C
  54.  
  55. 1.0 First public release
  56.  
  57.  
  58. ============================= Archive contents =============================
  59.  
  60. Original  Packed Ratio    Date     Time    Name
  61. -------- ------- ----- --------- --------  -------------
  62.    10044    5670 43.5% 28-Apr-98 14:03:58  DayCopy
  63.     1952     947 51.4% 28-Apr-98 14:03:42  DayCopy.readme
  64. -------- ------- ----- --------- --------
  65.    11996    6617 44.8% 14-Apr-98 02:18:26   2 files
  66.